<template>
  <div>
    {{ provideData.msg }}
  </div>
</template>

<script>
export default {
  name: 'Child',
  inject: ['provideData', 'changeMsg'],
  mounted() {
    setTimeout(() => {
      this.changeMsg()
    }, 1000)
  }
}
</script>

<style scoped>

</style>
